package com.showgood.controller {
	import com.showgood.config.SangoConst;
	import com.showgood.core.AbstractSimpleCommand;
	import com.showgood.socket.SingleSocketCommand;
	import org.puremvc.as3.interfaces.INotification;
	
	/**
	 * 队伍解散, 将来区分一下解散的原因
	 * 进城解散还是战败解散
	 * @author bianpeng
	 */
	public class ReplyArmyDisbandCommand extends AbstractSimpleCommand {
		public function ReplyArmyDisbandCommand() {
			super();
		}
		override public function execute(notify:INotification):void {
			var cmd:SingleSocketCommand = notify.getBody() as SingleSocketCommand;
			sendNotification(SangoConst.DISBAND_ARMY, cmd.data);
		}
	}
}
